<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping
  xmlns="urn:nhibernate-mapping-2.2" assembly="FJASPX.Domain" namespace="FJASPX.Domain">
  <class name="TradeCategroy" table="T_TradeCategroy" lazy="false" >
    <id name="Id" type="Int32" unsaved-value="0" >
      <column name="Id" length="4" sql-type="int" not-null="true" unique="true" />
      <generator class="identity"  />
    </id>
    <property name="Name" column="Name" type="String" length="50" />
    <property name="Sort" column="Sort" type="Int32" length="4" />
    <property name="ParentId" column="ParentId" type="Int32" length="4" />
    <property name="ParentPath" column="ParentPath" type="String" length="50" />
    <property name="Description" column="Description" type="String" length="50" />
    <property name="State" column="State" type="Int32" length="4" />
    <property name="TimeStamp" column="CreateTime"  length="8" type="DateTime"/>
    <property name="Creator" column="Creator" length="50" type="String"/>
    <property name="UpdateTime" column="UpdateTime" type="DateTime"/>
  </class>
</hibernate-mapping>
